package com.xinkao.example.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * 后台操作日志表
 * @Author
 * @Date 2021-08-25 09:24:46
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("后台操作日志表实体")
@TableName("log")
public class LogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键")
	@TableId
	private String id;
	@ApiModelProperty("机构id")
	@TableField("org_id")
	private String orgId;
	@ApiModelProperty("操作人")
	@TableField("operator")
	private String operator;
	@ApiModelProperty("操作时间")
	@TableField("operating_time")
	private Date operatingTime;
	@ApiModelProperty("角色名")
	@TableField("role_name")
	private String roleName;
	@ApiModelProperty("操作")
	@TableField("operate")
	private String operate;
	@ApiModelProperty("操作模块")
	@TableField("operate_module")
	private String operateModule;
	@ApiModelProperty("参数")
	@TableField("param")
	private String param;
	@ApiModelProperty("结果")
	@TableField("result")
	private String result;
	@ApiModelProperty("ip地址")
	@TableField("ip_address")
	private String ipAddress;
	@ApiModelProperty("操作平台")
	@TableField("operate_platform")
	private String operatePlatform;
	@ApiModelProperty("删除状态1删除0未删除")
	@TableField("delete_status")
	private Integer deleteStatus;
	@ApiModelProperty("创建时间")
	@TableField("create_time")
	private Date createTime;
	@ApiModelProperty("创建人")
	@TableField("create_by")
	private String createBy;
	@ApiModelProperty("修改时间")
	@TableField("update_time")
	private Date updateTime;
	@ApiModelProperty("更新人")
	@TableField("update_by")
	private String updateBy;
	@ApiModelProperty("备注")
	@TableField("remark")
	private String remark;
	@ApiModelProperty("方法")
	@TableField("method")
	private String method;
	@ApiModelProperty("执行时长")
	@TableField("use_time")
	private Long useTime;

}
